﻿@using Kojarskiy.Core

<div class="alert alert-info pull-right" style="padding: 5px; opacity: 0.8;">
    <a href="@Url.Action("ChangeLanguage","Home", new {language = "ru", returnUrl = Request.Url})">
        <img src="@Url.Content("~/Content/Images/ru-icon.png")" alt="Русский язык" @if(Localization.Current == "ru"){<text>width="35"</text>} else{<text>width="25"</text>} />
    </a>
    <a href="@Url.Action("ChangeLanguage","Home", new {language = "ua", returnUrl  = Request.Url})">
        <img src="@Url.Content("~/Content/Images/ua-icon.png")" alt="Українська мова" @if(Localization.Current == "ua"){<text>width="35"</text>} else{<text>width="25"</text>}/>
    </a>
    <a href="@Url.Action("ChangeLanguage","Home", new {language = "en", returnUrl  = Request.Url})">
        <img src="@Url.Content("~/Content/Images/en-icon.png")" alt="English language" @if(Localization.Current == "en"){<text>width="35"</text>} else{<text>width="25"</text>}/>
    </a>
    <a href="@Url.Action("ChangeLanguage", "Home", new { language = "de", returnUrl = Request.Url })">
        <img src="@Url.Content("~/Content/Images/de-icon.png")" alt="English language" @if (Localization.Current == "de") { <text> width="35" </text> } else { <text> width="25" </text> } />
    </a>
</div>